<script type="text/javascript" >
    stFlickrToolbox.load_tooltip();
    stFlickrToolbox.on_submitform('#flickrSettingForm', function(data){
        stFlickrToolbox.loadPage('flickrSetting', '', '<?php _e("Update option successful", $config['plugin_name']) ?>');
        jQuery('#appendHidden').append(data);
    });
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
        <form class="stform" id="flickrSettingForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >

            <ul>
                <li>
                    <label><?php _e('Flick user ID', $config['plugin_name']) ?>:</label>
                    <div>
                        <input value="<?php echo $option['flickr_user_id'] ?>" class="required" name="flickr_user_id" id="flickr_user_id" type="text"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Flickr key', $config['plugin_name']) ?>:</label>
                    <div>
                        <input value="<?php echo $option['flickr_key'] ?>" class="required" name="flickr_key" id="flickr_key" type="text"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Flick secret', $config['plugin_name']) ?>:</label>
                    <div>
                        <input value="<?php echo $option['flickr_secret'] ?>" class="required" name="flickr_secret" id="flickr_secret" type="text"/>
                    </div>
                    <br clear="both" />
                </li>
                <li>
                    <label><?php _e('Flick token ', $config['plugin_name']) ?>:</label>
                    <div>
                        <input disabled value="<?php echo $option['flickr_token'] ?>" class="" name="flickr_token" id="flickr_token" type="text"/>
                    </div>
                    <br clear="both" />
                </li>
                <li><input type="submit" value="Submit"/></li>
            </ul>
            <input type="hidden" value="handle" id="handle" name="handle"/>
        </form>
    </div>
</div>
<div id="appendHidden" style="display: none"></div>

